package com.example.universitylibraryback.event;

import java.util.Date;

public class BorrowExpirationEvent extends LibraryEvent {
    private String readerId;
    private String readerName;
    private String bookIsbn;
    private String bookTitle;
    private Date borrowDate;
    private Date dueDate;
    private Date actualReturnDate;
    
    public BorrowExpirationEvent(String readerId, String readerName, String bookIsbn,
                               String bookTitle, Date borrowDate, Date dueDate) {
        super("BORROW_EXPIRATION");
        this.readerId = readerId;
        this.readerName = readerName;
        this.bookIsbn = bookIsbn;
        this.bookTitle = bookTitle;
        this.borrowDate = borrowDate;
        this.dueDate = dueDate;
    }
    
    // getters and setters
    public String getReaderId() {
        return readerId;
    }
    
    public void setReaderId(String readerId) {
        this.readerId = readerId;
    }
    
    public String getReaderName() {
        return readerName;
    }
    
    public void setReaderName(String readerName) {
        this.readerName = readerName;
    }
    
    public String getBookIsbn() {
        return bookIsbn;
    }
    
    public void setBookIsbn(String bookIsbn) {
        this.bookIsbn = bookIsbn;
    }
    
    public String getBookTitle() {
        return bookTitle;
    }
    
    public void setBookTitle(String bookTitle) {
        this.bookTitle = bookTitle;
    }
    
    public Date getBorrowDate() {
        return borrowDate;
    }
    
    public void setBorrowDate(Date borrowDate) {
        this.borrowDate = borrowDate;
    }
    
    public Date getDueDate() {
        return dueDate;
    }
    
    public void setDueDate(Date dueDate) {
        this.dueDate = dueDate;
    }
    
    public Date getActualReturnDate() {
        return actualReturnDate;
    }
    
    public void setActualReturnDate(Date actualReturnDate) {
        this.actualReturnDate = actualReturnDate;
    }
}